package com.scs.application.modules.dept.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.SimpleDataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;
/**
 * <p>
 *
 * </p>
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "科室预算明细表")
@TableName("dept_budget_item")
public class BudgetItem extends SimpleDataEntity {
    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "=dept_budget.id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String budgetId;


    @EntityFieldAnnotation(
            text = "限额",
            length = "",
            not_null = false,
            default_value = "",
            comment = "预算金额"
    )
    private Double amount;


    @EntityFieldAnnotation(
            text = "限量",
            length = "",
            not_null = false,
            default_value = "",
            comment = "预算单品数量"
    )
    private Double qty;


    @EntityFieldAnnotation(
            text = "安全金额",
            length = "",
            not_null = false,
            default_value = "",
            comment = "当月消耗金额，小于限额"
    )
    private Double amountSafeMonth;


    @EntityFieldAnnotation(
            text = "安全单品数量",
            length = "",
            not_null = false,
            default_value = "",
            comment = "安全单品数量，小于限量"
    )
    private Double qtySafeMonth;

    @EntityFieldAnnotation(
            text = "当月消耗金额",
            length = "",
            not_null = false,
            default_value = "",
            comment = "当月消耗金额"
    )
    private Double amountUseMonth;


    @EntityFieldAnnotation(
            text = "当月消耗单品数量",
            length = "",
            not_null = false,
            default_value = "",
            comment = "当月消耗单品数量"
    )
    private Double qtyUseMonth;


    @EntityFieldAnnotation(
            text = "限制耗材数量",
            length = "",
            not_null = false,
            default_value = "",
            comment = "限制耗材数量"
    )
    private Double qtyMatr;



}
